<script type="text/javascript">
$(function() {
	$('[name=id]').mask('999.999.999-99');
});
</script>
<style type="text/css">
<!--
fieldset {
	margin-bottom: 5px;
	margin-left: 5px;
	padding: 5px;
}

.abasFormulario {
	font-weight: bold;
	font-size: 10px;
}

.abasFormulario legend {
	font-style: italic;
	font-weight: normal;
	color: #0000CC;
}
</style>
<h3>Cadastrar Estudante</h3>
<hr />
<table class="abasFormulario" width="100%" align="center">
	<tr>
		<td align="center">
		<table align="center" border="0" width="100%">
			<tr>
				<td colspan="3" style="text-align: center; font-weight: normal; font-size: 11px">
				<br />
				<br />
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Informe abaixo seu dados de acesso para entrar no sistema.<br />
				&nbsp;</td>
			</tr>
			<tr>
				<td colspan="3" align="center">
				<div class="notification <?php echo $css_mensagens;?>" <?php echo $display_mensagens;?>><?php echo $mensagem;?></div>
				<form action="<?php echo $action;?>" method="post">
					<table border="0" align="center" width="60%" id="tableLogin">
						<tr>
							<td colspan="2" align="center"><br />
							<strong>CADASTRO PARA ACESSO</strong>
							<hr />
							</td>
						</tr>
						<tr>
							<td align="right" width="33%">CPF:</td>
							<td align="left"><input class="textBlur" onfocus="this.className='textFocus';" onblur="this.className='textBlur';" type="text" name="id" size="25" /></td>
						</tr>
						<tr>
							<td align="right">Institui&ccedil;&atilde;o:</td>
							<td align="left">
                        		<?php echo form_dropdown('cnpj_instituicao', $instituicoes, $r->cnpj_instituicao, 'class="textBlur" onfocus="this.className=\'textFocus\';" onblur="this.className=\'textBlur\';"');?>
							</td>
						</tr>
						<tr>
							<td align="right">Nome</td>
							<td align="left"><input class="textBlur" onfocus="this.className='textFocus';" onblur="this.className='textBlur';" type="text" name="nome" size="25" /></td>
						</tr>
						<tr>
							<td align="right">Login:</td>
							<td align="left"><input class="textBlur" onfocus="this.className='textFocus';" onblur="this.className='textBlur';" type="text" name="login" size="25" /></td>
						</tr>
						<tr>
							<td align="right">Senha:</td>
							<td align="left"><input class="textBlur" onfocus="this.className='textFocus';" onblur="this.className='textBlur';" type="password" name="senha" size="25" /></td>
						</tr>
						<tr>
							<td align="right">Idade:</td>
							<td align="left"><input class="textBlur" onfocus="this.className='textFocus';" onblur="this.className='textBlur';" type="text" name="idade" size="25" /></td>
						</tr>
						<tr>
							<td align="right">RG:</td>
							<td align="left"><input class="textBlur" onfocus="this.className='textFocus';" onblur="this.className='textBlur';" type="text" name="rg" size="25" /></td>
						</tr>
						<tr>
							<td align="right">Data de Nascimento:</td>
							<td align="left"><input class="textBlur" onfocus="this.className='textFocus';" onblur="this.className='textBlur';" type="text" name="data_nascimento" size="25" /></td>
						</tr>
						<tr>
							<td align="right">Endere&ccedil;o:</td>
							<td align="left"><input class="textBlur" onfocus="this.className='textFocus';" onblur="this.className='textBlur';" type="text" name="endereco" size="25" /></td>
						</tr>
						<tr>
							<td align="right">N&uacute;mero:</td>
							<td align="left"><input class="textBlur" onfocus="this.className='textFocus';" onblur="this.className='textBlur';" type="text" name="numero" size="25" /></td>
						</tr>
						<tr>
							<td align="right">Complemento:</td>
							<td align="left"><input class="textBlur" onfocus="this.className='textFocus';" onblur="this.className='textBlur';" type="text" name="complemento" size="25" /></td>
						</tr>
						<tr>
							<td align="right">Bairro:</td>
							<td align="left"><input class="textBlur" onfocus="this.className='textFocus';" onblur="this.className='textBlur';" type="text" name="bairro" size="25" /></td>
						</tr>
						<tr>
							<td align="right">Cep:</td>
							<td align="left"><input class="textBlur" onfocus="this.className='textFocus';" onblur="this.className='textBlur';" type="text" name="cep" size="25" /></td>
						</tr>
						<tr>
							<td align="right">Estado:</td>
							<td align="left"><?php echo uf_dropdown('uf', '', 'class="textBlur" onfocus="this.className=\'textFocus\';" onblur="this.className=\'textBlur\';"');?></td>
						</tr>
						<tr>
							<td align="right">Cidade:</td>
							<td align="left"><input class="textBlur" onfocus="this.className='textFocus';" onblur="this.className='textBlur';" type="text" name="cidade" size="25" /></td>
						</tr>
						<tr>
							<td align="right">Telefone:</td>
							<td align="left"><input class="textBlur" onfocus="this.className='textFocus';" onblur="this.className='textBlur';" type="text" name="telefone" size="25" /></td>
						</tr>
						<tr>
							<td align="right">E-mail:</td>
							<td align="left"><input class="textBlur" onfocus="this.className='textFocus';" onblur="this.className='textBlur';" type="text" name="email" size="25" /></td>
						</tr>
						<tr>
							<td align="right">Nome do Curso:</td>
							<td align="left"><input class="textBlur" onfocus="this.className='textFocus';" onblur="this.className='textBlur';" type="text" name="nome_curso" size="25" /></td>
						</tr>
						<tr>
							<td align="right">N&iacute;vel do Curso:</td>
							<td align="left">
								<select name="nivel_curso" class="textBlur" onfocus="this.className='textFocus';" onblur="this.className='textBlur';">
									<option value="">Selecione...</option>
									<option value="">M&eacute;dio</option>
									<option value="">Superior</option>
									<option value="">T&eacute;cnico Profissionalizante</option>
								</select>
							</td>
						</tr>
						<tr>
							<td align="right">Semestre (Ex.: 2011.1):</td>
							<td align="left"><input class="textBlur" onfocus="this.className='textFocus';" onblur="this.className='textBlur';" type="text" name="semestre" size="25" /></td>
						</tr>
						<tr>
							<td colspan="2" align="center">
							<div id="statusLogon" style="text-align: center; width: 100%"></div>
							</td>
						</tr>
					</table><br />
					<div style="margin: auto; width: 490px;">
					<div align="left">Informe suas compet&ecirc;ncias:</div> <br />
<?php
foreach ($competencias as $id => $nome) {
?>
					
						<span style="padding: 10px; "><input type="checkbox" name="habilidades[]" value="<?php echo $id;?>" /> <span style="vertical-align: text-bottom;"><?php echo $nome;?></span>
					
<?php
}
?>
					</div>
					<table border="0" width="490x;">
						<tr>
							<td colspan="2">
							<hr />
							</td>
						</tr>
						<tr align="center">
							<td colspan="2">
								<input type="submit" value="Enviar" class="buttonOut" onmouseover="this.className='buttonOver';" onmouseout="this.className='buttonOut';" />
							</td>
						</tr>
					</table>
					</form>
				</td>
			</tr>
		</table>
		</td>
	</tr>
</table>